package Model.OtherUser;

import MailGenerator.Mailer;
import Model.User;

public class Blocked extends OtherUser {

  public int[] blocked;

    public User myUser;
    public User user;
  
    public Blocked(){
    	super();
    	this.friendblocked=BLOCKED;
    }
	  
	public static boolean isBlocked(int userID, int otherID){
		return isFriendOrBlocked(userID,otherID,BLOCKED);
	}
    public static void addBlocked(int userID, int friendID){
    	addOtherUser(userID, friendID, BLOCKED, "");
    }
    
    public static void reportUser(int userID, int reportedID){
    	Mailer.sendMail("ubcdating@gmail.com", "User reported", "The user "+userID+" has reported user "+reportedID);
    }
}